<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
    	<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<title>店铺收益列表</title>
		<link rel="stylesheet" href="../css/common/mui.css" />
		<link rel="stylesheet" href="../css/common/common.css" />
		<link rel="stylesheet" href="../css/this/shop.css" />
		<style>
			body{
				background:#fff;
			}
		</style>
	</head>
	<body>
		<div class=' reco theFirst detail-list'></div>
		<script type='text/template' id='tpl-detail-list'>
			<section class='bGWhite'>
				<section class='pT22 pB22 tC'>
					<p class='fS15 cGrey pB8'>当前余额 </p>
					<div class='fS24 cRed'>&yen; {{total_account}}</div>
				</section>
				<section class='mui-row pL17 pR17 lH50 bT fS15'>
					<div class='mui-col-xs-6'>总收入 ：</div>
					<div class='mui-col-xs-6 tR'>+{{total_price}}</div>
				</section>
				<section class='mui-row pL17 pR17 lH50 bT fS15'>
					<div class='mui-col-xs-6'>总支出 ：</div>
					<div class='mui-col-xs-6 tR'>{{total_expenditure}}</div>
				</section>
				{{if list.length > 0}}
				<section class='bT pL17 pR17 Dlist'>
					<div class='mui-row pT14 pB14 fS15 list-nav  tC'>
						<div class='mui-col-xs-4 lH25' data-type='0'>全部</div>
						<div class='mui-col-xs-4  lH25 bL bR' data-type='1'>收入</div>
						<div class='mui-col-xs-4 lH25' data-type='2'>支出</div>
					</div>
					{{each list as list }}
					<section class='bT pT9 '>
						<div class='mui-row pT9 pB9 ' data-menId = '{{list.member_id}}' data-id ='{{list.id}}'>
							<div class='mui-col-xs-4 fS13 tC lH25'>{{datetimeFormat(list.create_time,'MM/dd')}}</div>
							<div class='mui-col-xs-8 fS13 lH25 pL10'>
								<div>{{if list.price <0}}{{list.price}}{{else}}+{{list.price}}{{/if}}</div>
								<p>{{list.description}}</p>
							</div>
						</div>
					</section>
					{{/each}}
				</section>
				{{else}}
					<div class='tC promp-order' style='position:absolute;top:50%;left:15%;height:30%;width:70%;'><span class='cGrey fS15'>亲  这个页面还没有数据哦~</span></div>
				{{/if}}
			</section>
		</script>
	</body>
		<script src='../js/common/jquery.min.js'></script>
		<script src="../js/common/template.js"></script>
		<script src='../js/common/api.js'></script>
	<!--	<script src='../js/common/loading.js'></script>-->
		<script src="../js/common/app.js"></script> 
		<script src='../layer/layer.js'></script>
		<script src='../js/common/header.js'></script>
		<script src='../js/common/footer.js'></script>
		<script src='shop.profit.detaillist.js'></script>
</html>
